<!--
<?php
if ('show' == $block_job) {
print <<<EOT
-->
<div class="pwSlide">
<div id="pwSlidePlayer_{$block_id}" class="pr">
<!--
EOT;
	foreach ($block_data as $v) {
print <<<EOT
-->
	<div style="display: none;">
		<a href="{$v[url]}" target="_blank">
			<img class="pwSlideFilter" src="{$v[image]}" title="{$v[title]}" width="100%" height="240" />
			<h4 style="font-size:12px;">{$v[title]}</h4>
		</a>
	</div>
<!--
EOT;
	}
print <<<EOT
-->
	<ul id="SwitchNav"></ul>
	<div class="bg"></div>
</div>
</div>
<script type="text/javascript" src="js/sliderplayer.js"></script>
<script type="text/javascript">pwSliderPlayers("pwSlidePlayer_{$block_id}");</script>
<!--
EOT;
} else {
print <<<EOT
-->
	<tr class="tr1 vt">
		<td class="td2" width="80">模块标题</td>
        <td class="td2" colspan="3"><input type="text" name="block_title" value="$block[title]" class="input input_wa"></td>
    </tr>
	<tr class="tr1 vt">
		<td class="td2">帖子tid[选填]</td>
		<td class="td2" colspan="3">
        	<input type="text" id="tid" class="input input_wa mr5">
			<span class="bt2"><span><button type="button" onclick="javascript:New(addFildData,['fildbody','filddata','tid']);changeImguploadName();">添 加</button></span></span>
		</td>
	</tr>
	<tr class="tr2 td_bgA">
		<td>链接地址</td>
		<td>图片地址</td>
		<td width="180">标题</td>
		<td>&nbsp;</td>
	</tr>
<tbody id="fildbody">
<!--
EOT;
	foreach ($block_data as $v) {
print <<<EOT
-->
	<tr class="tr1 vt">
		<td class="td2"><input type="text" name="url[]" value="{$v[url]}" class="input input_wc"></td>
		<td class="td2"><input type="text" name="image[]" value="{$v[image]}" class="input input_wc mr5"><input size="4" name="image_upload"  class="image_upload input mr5" style="width:110px;display:none" type="file" accept="image/*" /><input type="hidden" name="image_type[]" value="0" /><a  id="modifImgType" href="javascript:" onclick="stopicImgType(0, 1, 2, this)">[上传]</a></td>
		<td class="td2"><input type="text" name="title[]" value="{$v[title]}" class="input input_wa"></td>
		<td class="td2"><a href="javascript:void(0);" onclick="delTr(this);changeImguploadName();">[删除]</a></td>
	</tr>
<!--
EOT;
	}
print <<<EOT
-->
	
</tbody>
<tbody id="filddata" style="display:none;">
	<tr class="tr1 vt">
		<td class="td2"><input type="text" name="url[]" value="http://" class="input input_wc"></td>
		<td class="td2"><input type="text" name="image[]" value="" class="input input_wc mr5"><input size="4" name="image_upload" class="image_upload input mr5" style="width:110px;display:none" type="file" accept="image/*" /><input type="hidden" name="image_type[]" value="0" /><a  id="modifImgType" href="javascript:" onclick="stopicImgType(0, 1, 2, this)">[上传]</a></td>
		<td class="td2"><input type="text" name="title[]" value="" class="input input_wa"></td>
		<td class="td2"><a href="javascript:void(0);" onclick="delTr(this);changeImguploadName();">[删除]</a></td>
	</tr>
</tbody>

<!--
EOT;
}
?>
-->